<?php /* Smarty version Smarty-3.1.13, created on 2013-07-02 05:43:23
         compiled from ".\templates\orderlist.tpl" */ ?>
<?php /*%%SmartyHeaderCode:189365184477a82c710-73182184%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '935601b029bf216bcc324f05f03c2a65519d7a32' => 
    array (
      0 => '.\\templates\\orderlist.tpl',
      1 => 1367624977,
      2 => 'file',
    ),
    '9d3840acd837a27297ba054f8bc546ea8525850a' => 
    array (
      0 => 'D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\hirenbhai\\templates\\main.tpl',
      1 => 1372739455,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '189365184477a82c710-73182184',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_5184477a89ba69_74525831',
  'variables' => 
  array (
    's_activId' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5184477a89ba69_74525831')) {function content_5184477a89ba69_74525831($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>!! HIRENBHAI !!</title>
<link rel="stylesheet" type="text/css" href="./css/main.css" />
<link rel="stylesheet" type="text/css" href="./css/style.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<link rel="stylesheet" href="css/style1.css" media="screen">
	<style type="text/css">
		html, body { margin: 0;	padding: 0; }
		ul.menu { margin: 0px auto 0 auto; }
	</style>
	</head>




<?php if (strlen($_smarty_tpl->tpl_vars['s_activId']->value)>0){?>
<div id="headerContent">
  <div id="headingData"><br>
    <a href="bill.php"></a>
  </div>
</div>
<body>
  <ul class="menu">
    <li><a href="#"> Master</a>
      <ul>
        <li><a href="item.php" align="left"> Item</a></li>
        <li><a href="size.php"  align="left">Size</a></li>
        <li><a href="company.php"  align="left">Company</a></li>
        <li><a href="quality.php"  align="left">Quality</a></li>
        <li><a href="itemCreate.php"  align="left">Color</a></li>
        <li><a href="itemImage.php"  align="left">Item Image</a></li>
        <li><a href="transaction.php"  align="left">Transaction</a></li>
      </ul>
    </li>
    <li><a href="party.php">Party</a><li>
    <li><a href="partyType.php">Transaction</a><li>
    <li><a href="order.php"> Order</a><li>
    <li><a href="orderlist.php"> Order List</a><li>
    <li><a href="bill.php">Bill</a></li>
    <li><a href="logout.php">Logout</a><li>
  </ul>
</body>
<?php }?>

<br /> <br />
  <table align="center" border=2>
  <tr>
  	<th class="table1">Action</th>
    <th class="table1">Party Name</th>
    <th class="table1">Contact </th>
    <th class="table1">Date</th>
  </tr>
  <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["sel"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['name'] = "sel";
$_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['orderArray']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["sel"]['total']);
?>
  <tr>
  	<td class="table2">
  	  <a href="orderDelete.php?partyId=<?php echo $_smarty_tpl->tpl_vars['orderArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sel']['index']]['partyId'];?>
" onclick="return confirm('Sure to Delete?');"class="link">
  	    <img src="./images/deleteIco.png">
  	  </a>
  	</td>
    <td class="table2"><?php echo $_smarty_tpl->tpl_vars['orderArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sel']['index']]['partyName'];?>
</td>
    <td class="table2"><?php echo $_smarty_tpl->tpl_vars['orderArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sel']['index']]['contact1'];?>
</td>
    <td class="table2"><?php echo $_smarty_tpl->tpl_vars['orderArray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sel']['index']]['billdate'];?>
</td>
  </tr>
  <?php endfor; endif; ?>
</table>

</body>
</html><?php }} ?>